package com.group02.community.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.group02.community.entity.vo.AreaVO;
import com.group02.community.mapper.AreaMapper;
import com.group02.community.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaServiceImpl extends ServiceImpl<AreaMapper, AreaVO> implements AreaService {
    @Autowired
    private AreaMapper areaMapper;
    @Override
    public List<AreaVO> getAreaList() {
        return areaMapper.getAreaList();
    }
}
